.slide-expense-report-detail {
  &-alert {
    .show-alert:first-of-type {
      margin-top: 20px;
    }
  }
  &-header {
    position: relative;
    padding-bottom: 16px;
    &-form {
      font-size: 16px;
      color: #1E2126;
      line-height: 20px;
      margin-top: 8px;
      position: relative;
      &-status {
        position: absolute;
        right: 0;
        top: 0;
        &:hover {
          opacity: 1!important;
        }
      }
    }
    &-amount {
      font-family: DINAlternate-Bold;
      font-size: 30px;
      color: #1E2126;
      line-height: 32px;
      margin-top: 8px;
    }
    &-pay {
      font-size: 14px;
      color: #1E2126;
      line-height: 14px;
      margin-top: 4px;
    }
    &-nodeName {
      font-size: 12px;
      color: #848C95;
      text-align: right;
      width: 82px;
      height: 14px;
      line-height: 14px;
      margin-top: 8px;
      position: absolute;
      right: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    &:after {
      content: '';
      position: absolute;
      bottom: 1px;
      left: 0;
      width: 100%;
      border-top: 1px dashed #EBF0F5;
    }
  }
  &-relative {
    &-item {
      padding: 0 8px;
      cursor: pointer;
      width: 100%;
      background: #EFF8FF;
      font-size: 12px;
      color: #2B78FF;
      height: 28px;
      line-height: 28px;
      margin-top: 8px;
    }
    &-title {
      font-size: 12px;
      line-height: 14px;
      color: #4E5B71;
      margin-top: 8px;
    }
    &-value {
      font-size: 12px;
      line-height: 14px;
      color: #2B78FF;
      margin-top: 8px;
      cursor: pointer;
      &.viewed {
        color: #8B93A7;
      }
    }
  }
  &-expense {
    padding: 0 20px;
    &-mode {
      margin-bottom: 10px;
      display: inline-block;
      cursor: pointer;
      font-size: 16px;
      color: #1E2126;
    }
    &-list {
      .ant-radio-group {
        margin-bottom: 10px;
      }
      .invoice-label-filter {
        margin-bottom: 10px;
        line-height: 30px;
        .ant-tag {
          border-radius: 0;
          &:active {
            background: $highlight-default;
            border: 1px solid $default-color-hover;
            color: $default-color-hover;
          }
        }
        .ant-tag-checkable-checked {
          background: $highlight-default;
          border: 1px solid $default-color;
          color: $default-color;
        }
      }
      &-title {
        font-size: 14px;
        color: #4E5B71;
        line-height: 36px;
        width: calc(100% - 70px);
        &-chart {
          display: inline-block;
          margin-left: 5px;
          vertical-align: top;
        }
        .ant-divider {
          margin: 0 10px;
        }
        &-money {
          color: #4E5B71;
          font-weight: bold;
        }
      }
      &-container { position: relative; }
      &-table {
        margin-bottom: 20px;
        &-type-icon {
          margin-right: 4px;
          width: 24px;
          height: 24px;
        }
        tr.ant-table-expanded-row td {
          background: white;
          &:hover {
            background: white;
          }
        }
        .warning-expanded-row{
          color: #2e6cf2;
        }
        .error-expand-row{
          color: #CB5091;
        }
        .expanded-row-list {

        }
        &-summary {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        &-row {
          width: calc(100% - 60px);
          overflow: auto;
        }
        &-invoice {
          margin-top: 10px;
          width: 700px;
          .invoice-brief-mode {
            margin-left: 0;
            width: calc(100% - 60px);
          }
          .invoice-brief-mode .invoice-brief-content-area span {
            display: inline;
          }
        }
        .invoice-has-audit td:nth-child(2) {
          position: relative;
          &::before {
            content: "";
            width: 20px;
            height: 13px;
            position: absolute;
            top: 0;
            left: 0;
            background: url(../../../../images/manual-audit.png) no-repeat;
            background-size: 100%;
          }
        }
      }
    }
    &-file, &-invoice-summary {
      margin-left: 15px;
    }
    .manual-audit-tag {
      color: #5D7AAF;
      margin-left: 20px;
      &:hover {
        color: #5D7AAF;
        opacity: 1;
      }
    }
    .audit-edit-btn {
      position: absolute;
      top: 0;
      right: 70px;
      font-size: 14px;
      .manual-audit-switch {
        margin-right: 25px;
        .ant-switch {
          margin-right: 8px;
          position: relative;
          top: -1px;
        }
      }
    }
  }
  &-history {
    .approve-history { margin-top: 10px; }
  }
  &-pay {
    padding: 0 20px;
  }
  &-right {
    .ant-tabs-content .ant-tabs-tabpane {
      max-height: calc(100vh - 220px);
      overflow: auto;
      padding-bottom: 63px;
    }
    &-audit-ing {
      color: #FFAC4D;
      position: relative;
      top: -4px;
    }
    .has-audit-tip {
      .slide-expense-report-detail-right-audit-ing {
        margin-right: 40px;
      }
    }
    .right-tabs {
      .ant-tabs-bar .ant-tabs-nav-container {
        margin-left: 40px;
        max-width: calc(100% - 75px);
        .ant-tabs-nav,
        .ant-tabs-tab-prev.ant-tabs-tab-arrow-show{
          margin-left: 0;
        }
        .ant-tabs-tab-prev-icon,
        .ant-tabs-tab-next-icon{
          top: calc(50% - 5px);
        }
      }
    }
  }
  &.slide-document .column-layout-right {
    padding-bottom: 0;
  }
  .audit-tips-button-lamp {
    top: 9px;
    z-index: 3;
  }
}
.slide-expense-report-detail-header {
  .ant-popover-message > .anticon { display: none; }
  .ant-popover-message-title { padding-left: 0 }
  .spin-as-inline { display: inline-block; }
}
.slide-expense-report-detail-expense-invoice-summary-modal {
  width: 100vw !important;
  padding: 0;
  &-title {
    .anticon-info-circle {
      color: #658FD6;
      cursor: pointer;
      margin-left: 6px;
    }
    .anticon-check-circle {
      color: #4DC690;
      margin-left: 40px;
    }
    .anticon-question-circle {
      color: #FF6680;
      margin-left: 20px;
    }
  }
  .ant-modal-body {
    padding: 0;
    .slide-expense-report-detail-expense-invoice-summary-frame {
      height: calc(100vh - 55px);
      width: 100%;
      overflow: auto;
      white-space: nowrap;
      padding: 20px;
      &-group {
        width: 500px;
        display: inline-block;
        margin: 0 10px;
        vertical-align: top;
        h4 {
          margin-bottom: 10px;
        }
        .invoice-brief-mode .invoice-brief-content-area span {
          display: inline;
        }
        .invoice-brief-mode, .invoice {
          margin: 0 0 20px;
          width: 100%;
        }
        .ant-spin-blur {
          overflow: visible;
        }
        .invoice-container {
          position: relative;
          &.selected {
            box-shadow: 0 0 5px 1px $default-color-hover;
          }
          .check-icon {
            position: absolute;
            right: -8px;
            top: -8px;
            font-size: 24px;
            cursor: pointer;
            -webkit-transition: transform .3s;
            -moz-transition: transform .3s;
            -ms-transition: transform .3s;
            -o-transition: transform .3s;
            transition: transform .3s;
            &:hover {
              -webkit-transform: scale(1.2);
              -moz-transform: scale(1.2);
              -ms-transform: scale(1.2);
              -o-transform: scale(1.2);
              transform: scale(1.2);
            }
          }
          .anticon-check-circle {
            color: #4DC690;
          }
          .anticon-question-circle {
            color: #FF6680;
          }
        }
      }
    }
  }
}

.slide-expense-report-detail {
  .invoice-list {
    padding: 0 10px;
    .ant-table {
      overflow: visible;
    }

    .invoice-list-head {
      position: relative;
      padding-top: 10px;
      overflow: hidden;

      .scan-info-icon {
        position: relative;
        color: $font-description;
        top: -16px;
        left: -12px;
        cursor: pointer;
      }

      button {
        margin-right: 16px;
      }

      .button-area {
        float: right;
        margin-bottom: 12px;

        i.scan-info {
          position: relative;
          color: $font-description;
          top: -16px;
          left: 4px;
          cursor: pointer;
        }

        &-create {
          margin-left: 16px;
        }

        button {
          margin-left: 10px;
          margin-right: 0;
        }
      }
    }

    .error-table-line {
      background: #FDF2F1 !important;
    }

    .warn-table-line {
      background: rgba(254, 249, 237, 1);
      margin-bottom: 10px;
    }

    .not-matched-columns {
      color: red;
    }

    .table-count {
      height: 40px;
      line-height: 40px;
      padding: 0 30px;
      border: 1px solid #EAEAEA;
      border-bottom: none;

      b {
        margin: 0 5px;
      }

      b.number {
        color: #50962A;
      }
    }

    .invoice-label-filter {
      margin-bottom: 12px;
      line-height: 30px;
      .ant-tag { border-radius: 0; }
    };
  }
}
